package com.oreilly.ez.entity;


import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

@Data
@Entity
@Table(name = "course")
@ToString
public class Course  extends BaseEntity {


  // new field...
  @Column(name = "child_age")
  private String childAge;

  @Column(precision = 10, scale = 2)
  private BigDecimal fee;



}
